package com.st.shopadmin.dao;

import com.st.shopadmin.pojo.AdminManagerUser;
import com.st.shopadmin.pojo.ManagerUser;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AdminManagerUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AdminManagerUser record);

    int insertSelective(AdminManagerUser record);

    AdminManagerUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AdminManagerUser record);

    int updateByPrimaryKey(AdminManagerUser record);

    int checkUserName(String username);

    int checkEmail(String email);

    AdminManagerUser selectLogin(@Param("username")String username,@Param("password")String password);

    List<AdminManagerUser> selectList();
}